<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改密码</title>
    <link rel="stylesheet" href="../css/update-password.css"/>
    <script type="text/javascript" src="../js/update-password.js"></script>
</head>

<body>
<!--****************顶部导航************-->
<%@include file="../jsp/common/nav.jsp"%>
<!--*******************修改密码**********************-->
<!--标题导航-->
<c:set var="user" value="${sessionScope.user}"/>
<div class="password-nav">
    <span class="password-nav-title"><a href="#">${user.username}</a></span>
    >
    <span>修改密码</span>
</div>
<!--修改密码-->
<!--个人信息-->
<div class="password">
    <div class="password-left">
        <h3>密码</h3>
        <span>密码更新成功后，您将被重定向到登录页面，您可以使用新密码重新登录</span>
    </div>
    <div class="password-right">
        <form action="/users/update-password">
            <ul>
                <li><h5>修改密码*</h5></li>
                <li><h4>新密码：</h4></li>
                <li>
                    <input type="hidden" name="id" value="${user.id}">
                    <input type="password" size="60" name="password" id="password" onfocus="FocusItem(this)" onblur="CheckItem(this);"/>
                    <span></span>
                </li>
                <li><h4>密码确认：</h4></li>
                <li>
                    <input type="password" size="60" name="rePassword" onfocus="FocusItem(this)" onblur="CheckItem(this);"/>
                    <span></span>
                </li>
            </ul>
            <input type="submit" id="sumbit" value="更新密码"/>
        </form>
    </div>
</div>
</body>
</html>
